package ucalgary.seng401.tss;

/**
 * CallRecord class. Handles..the...call records..
 *
 */
public class CallRecord {

	private boolean callStatus = false;
	private int callProcess = 0;
	private int calledNum = 0;
	private int routeNum = 0;
	private int timer = 0;
	private boolean callingTermination = false;
	private boolean calledTermination = false;
	
	/**
	 * Constructor
	 */
	public CallRecord()
	{
		super();
	}

	public boolean isCallStatus() {
		return callStatus;
	}

	public void setCallStatus(boolean callStatus) {
		this.callStatus = callStatus;
	}

	public int getCallProcess() {
		return callProcess;
	}

	public void setCallProcess(int callProcess) {
		this.callProcess = callProcess;
	}

	public int getCalledNum() {
		return calledNum;
	}

	public void setCalledNum(int calledNum) {
		this.calledNum = calledNum;
	}

	public int getRouteNum() {
		return routeNum;
	}

	public void setRouteNum(int routeNum) {
		this.routeNum = routeNum;
	}

	public int getTimer() {
		return timer;
	}

	public void setTimer(int timer) {
		this.timer = timer;
	}

	public boolean isCallingTermination() {
		return callingTermination;
	}

	public void setCallingTermination(boolean callingTermination) {
		this.callingTermination = callingTermination;
	}

	public boolean isCalledTermination() {
		return calledTermination;
	}

	public void setCalledTermination(boolean calledTermination) {
		this.calledTermination = calledTermination;
	}

	public void decrementTimer() { 
		this.timer += 1; 
	}
	
}
